package com.tulele.vtool.mapper;

import com.tulele.vtool.model.BrandSupplyInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "brandSupplyInfoMapper")
public interface BrandSupplyInfoMapper {

    /**
     * 添加品牌补充信息
     * @param brandSupplyInfo
     * @return
     */
    int addBrandSupplyInfo(BrandSupplyInfo brandSupplyInfo);

    /**
     * 更新品牌补充信息
     * @param brandSupplyInfo
     * @return
     */
    int updBrandSupplyInfo(BrandSupplyInfo brandSupplyInfo);

    /**
     * 查询平台的补充类型信息
     * @param brandId
     * @return
     */
    List<BrandSupplyInfo> queryBrandSupplyInfo(@Param("brandId") Integer brandId);
}